const productIds = {
  "PPacakgePickUp":"PPacakgePickUp",
  "PWashShoes":"PWashShoes",
  "PPrintBlackAndWhite":"PPrintBlackAndWhite",
  "PPaoTui": "PPaoTui",
  "PWashClothes":"PWashClothes"
}

function getTypeDescByProductId(productId) {
  if (productIds.PPacakgePickUp === productId) {
    return "代取快递";
  }
  else if(productIds.PWashShoes === productId) {
    return "洗鞋";
  }
  else if(productIds.PPrintBlackAndWhite === productId) {
    return "黑白打印";
  }
  else if(productIds.PPaoTui === productId) {
    return "跑腿";
  }
  else if(productIds.PWashClothes === productId) {
    return "洗衣";
  }
  else {
    return "";
  }
}

module.exports = {
  productIds,
  getTypeDescByProductId
}
